/**
 * @Author your name
 * @Date 2021-03-05 13:19:52
 * @LastEditTime 2021-03-05 13:25:20
 * @LastEditors Please set LastEditors
 * @Description In User Settings Edit
 * @FilePath \fed-e-task-04-06\code\angular-demo\src\app\store\actions\todo.actions.ts
 */
// src\app\store\actions\todo.actions.ts
import { createAction, props } from '@ngrx/store';

// 添加任务
export const addTodo = createAction('addTodo', props<{ title: string }>());
// 删除任务
export const deleteTodo = createAction('deleteTodo', props<{ id: string }>());




